package com.jason.quartzdemo.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {
    private static String pattern = "yyyy-MM-dd HH:mm:ss.SSS";
    public static String getDate(){
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat(pattern);
        String format = sdf.format(date);
        return format;
    }
}
